﻿using UnityEngine;
using UnityEngine.Rendering.Universal;

namespace Core
{
    public class CoreDataObject : ScriptableObject
    {
        [Tooltip("屏幕适配宽高模式值")]
        public float matchWidthOrHeight = 0;
        [Tooltip("编辑器模式下，是否使用AB包资源")]
        public bool isUseAssetBundle = false;
        [Tooltip("是否连接远程资源路径更新资源包")]
        public bool isUpdateAssetBundle = false;
        [Tooltip("当前适配画布的分辨率")]
        public Vector2 referenceResolution = new Vector2(1440, 720);
        [Tooltip("UI相机使用的URP渲染索引")]
        public int uiCameraRendererIndex = -1;
        public int uiMask = 5;
        public int cameraFar = 1000;
        public Vector3 uiCameraPos = new Vector3(0, 10000, 0);
        public int perPanelSortingLayer = 100;
        public int perLayerSortingLayer = 1000;
    }
}
